package com.cyw.search.entity.note;
import cn.easyes.annotation.IndexField;
import cn.easyes.annotation.IndexName;
import cn.easyes.common.enums.FieldType;
import cn.easyes.common.params.JoinField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: Chenyw
 * @Date: 2022/10/24/15:43
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@IndexName(child = true)
public class NoteComment {
    @IndexField(fieldType = FieldType.JOIN)
    private JoinField joinField;
    private String id;
    private String commentContent;
}
